package com.ruoyi.iot.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备型号对象 fac_devices_type
 * 
 * @author rww
 * @date 2024-06-18
 */
public class FacDevicesType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 设备类型名称 */
    @Excel(name = "设备类型名称")
    private String name;

    /** 设备扩展表名 */
    @Excel(name = "设备扩展表名")
    private String tablename;

    /** 父类型id */
    private Long pid;

    /** 代码 */
    @Excel(name = "代码")
    private String code;

    /** 类型描述 */
    private String typeDesc;

    /** 大类 */
    @Excel(name = "大类")
    private String kindClass;

    /** 类型类别 */
    @Excel(name = "类型类别")
    private String typeClass;

    /** 创建人 */
    private String creator;

    /** 修改人 */
    private String modifier;

    /** 修改时间 */
    private Date modifyTime;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String creatorName;

    /** 修改人名称 */
    private String modifyName;

    /** 是否可控制 */
    @Excel(name = "是否可控制")
    private Boolean isControl;

    /** 是否移动 */
    @Excel(name = "是否移动")
    private Boolean isMove;

    /** 是否识别 */
    @Excel(name = "是否识别")
    private Boolean isIdentify;

    /** 厂商名称 */
    @Excel(name = "厂商名称")
    private String vendorName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTablename(String tablename) 
    {
        this.tablename = tablename;
    }

    public String getTablename() 
    {
        return tablename;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setTypeDesc(String typeDesc) 
    {
        this.typeDesc = typeDesc;
    }

    public String getTypeDesc() 
    {
        return typeDesc;
    }
    public void setKindClass(String kindClass) 
    {
        this.kindClass = kindClass;
    }

    public String getKindClass() 
    {
        return kindClass;
    }
    public void setTypeClass(String typeClass) 
    {
        this.typeClass = typeClass;
    }

    public String getTypeClass() 
    {
        return typeClass;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setCreatorName(String creatorName) 
    {
        this.creatorName = creatorName;
    }

    public String getCreatorName() 
    {
        return creatorName;
    }
    public void setModifyName(String modifyName) 
    {
        this.modifyName = modifyName;
    }

    public String getModifyName() 
    {
        return modifyName;
    }
    public void setIsControl(Boolean isControl) 
    {
        this.isControl = isControl;
    }

    public Boolean getIsControl() 
    {
        return isControl;
    }
    public void setIsMove(Boolean isMove) 
    {
        this.isMove = isMove;
    }

    public Boolean getIsMove() 
    {
        return isMove;
    }
    public void setIsIdentify(Boolean isIdentify) 
    {
        this.isIdentify = isIdentify;
    }

    public Boolean getIsIdentify() 
    {
        return isIdentify;
    }
    public void setVendorName(String vendorName) 
    {
        this.vendorName = vendorName;
    }

    public String getVendorName() 
    {
        return vendorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("tablename", getTablename())
            .append("pid", getPid())
            .append("code", getCode())
            .append("typeDesc", getTypeDesc())
            .append("kindClass", getKindClass())
            .append("typeClass", getTypeClass())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .append("creatorName", getCreatorName())
            .append("modifyName", getModifyName())
            .append("isControl", getIsControl())
            .append("isMove", getIsMove())
            .append("isIdentify", getIsIdentify())
            .append("vendorName", getVendorName())
            .toString();
    }
}
